Travelpayouts\components\tables\TableDataModel A

Total Complexity 68
Dependencies 9
Dependents 5
Total lines 508
Lines of code 230
Logical lines of code 100
Comment lines 167
Methods 37
Properties 11

Methods 37

Method Rating Maintainability Complexity Lines of code
filter_api_data()
S
59 5 15
get_columns()
S
60 5 12
getThemeName()
S
62 4 12
get_api_response()
S
63 3 11
set_shortcode_attributes()
S
68 3 8
getButtonTitle()
S
60 2 15
getTableTitle()
S
60 2 15
enrichment_loop()
S
63 3 10
getEnabledColumns()
S
67 3 9
columns_enrichment()
S
65 2 10
map_data()
S
71 2 6
api_data_enrichment()
S
67 2 8
isTitleVisible()
S
72 2 6
enrichment()
S
67 2 8
getColumnLabel()
S
70 2 6
get_redux_module_data()
S
75 2 5
get_redux_section_data()
S
75 2 5
isStringIsNotEmpty()
S
78 2 3
getColumnPriority()
S
70 2 6
rules()
S
66 1 11
getCache()
S
82 1 3
setSection()
S
100 1 0
isCustomLocaleSet()
S
80 1 3
getLocale()
S
75 1 5
get_shortcode_attributes()
S
82 1 3
enriched_data()
S
81 1 3
get_redux_module()
S
82 1 3
get_redux_section()
S
82 1 3
setApi()
S
100 1 0
api_attributes()
S
82 1 3
setDebugData()
S
79 1 3
getDebugData()
S
82 1 3
get_column_enricher()
S
82 1 3
get_table_helper()
S
74 1 5
columnsLabels()
S
82 1 3
columnsPriority()
S
82 1 3
get_columns_keys()
S
80 1 3